package com.charger.chargingcable.domain;

import com.charger.common.annotation.Excel;
import com.charger.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 充电枪对象 chargingcable
 * 
 * @author charger1
 * @date 2024-11-26
 */
public class Chargingcable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long chargingcableId;

    /** 充电枪编号 */
    @Excel(name = "充电枪编号")
    private String chargingCableNum;

    /** 充电枪名称 */
    @Excel(name = "充电枪名称")
    private String chargingCableName;

    /** 充电枪类型 */
    @Excel(name = "充电枪类型")
    private Integer chargingCableType;

    /** 输出功率 */
    @Excel(name = "输出功率")
    private String outputPower;

    /** 充电电压V */
    private Double voltage;

    /** 充电电流A */
    private Double current;

    /** 已充电量KWh */
    private Double chargeAmount;

    /** SOC */
    private Double SOC;

    /** 剩余时间s */
    private Double remainTime;

    public void setChargingcableId(Long chargingcableId) 
    {
        this.chargingcableId = chargingcableId;
    }

    public Long getChargingcableId() 
    {
        return chargingcableId;
    }
    public void setChargingCableNum(String chargingCableNum) 
    {
        this.chargingCableNum = chargingCableNum;
    }

    public String getChargingCableNum() 
    {
        return chargingCableNum;
    }
    public void setChargingCableName(String chargingCableName) 
    {
        this.chargingCableName = chargingCableName;
    }

    public String getChargingCableName() 
    {
        return chargingCableName;
    }
    public void setChargingCableType(Integer chargingCableType) 
    {
        this.chargingCableType = chargingCableType;
    }

    public Integer getChargingCableType() 
    {
        return chargingCableType;
    }
    public void setOutputPower(String outputPower) 
    {
        this.outputPower = outputPower;
    }

    public String getOutputPower() 
    {
        return outputPower;
    }
    public void setVoltage(Double voltage) 
    {
        this.voltage = voltage;
    }

    public Double getVoltage() 
    {
        return voltage;
    }
    public void setCurrent(Double current) 
    {
        this.current = current;
    }

    public Double getCurrent() 
    {
        return current;
    }
    public void setChargeAmount(Double chargeAmount) 
    {
        this.chargeAmount = chargeAmount;
    }

    public Double getChargeAmount() 
    {
        return chargeAmount;
    }
    public void setSOC(Double SOC) 
    {
        this.SOC = SOC;
    }

    public Double getSOC() 
    {
        return SOC;
    }
    public void setRemainTime(Double remainTime) 
    {
        this.remainTime = remainTime;
    }

    public Double getRemainTime() 
    {
        return remainTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("chargingcableId", getChargingcableId())
            .append("chargingCableNum", getChargingCableNum())
            .append("chargingCableName", getChargingCableName())
            .append("chargingCableType", getChargingCableType())
            .append("outputPower", getOutputPower())
            .append("remark", getRemark())
            .append("voltage", getVoltage())
            .append("current", getCurrent())
            .append("chargeAmount", getChargeAmount())
            .append("SOC", getSOC())
            .append("remainTime", getRemainTime())
            .toString();
    }
}
